package cn.itsource.org.service;

import cn.itsource.org.domain.Department;
import cn.itsource.org.query.BaseQuey;
import cn.itsource.org.util.JSONResult;

import java.util.List;

public interface Departservice {

    JSONResult findPage(BaseQuey baseQuey);

    JSONResult findtree();

    JSONResult add(Department department);

    JSONResult update(Department department);

    JSONResult delete(Long id);

    JSONResult deletebatch(List<Long> ids);
}
